package com.cn.gateway;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.cloud.openfeign.EnableFeignClients;
import org.springframework.context.annotation.ComponentScan;

/**
 * @author zhoujunming
 * @Description TODO
 * @date 2022/6/8 16:21
 * @email zhoujunming@bluemoon.com.cn
 */
@SpringBootApplication
@EnableDiscoveryClient
@EnableFeignClients(basePackages = {"com.cn.auth"})
@ComponentScan(basePackages={"com.cn.auth.*", "com.cn.gateway.*"})
public class OauthGatewayApplication {
    public static void main(String[] args) {
        SpringApplication.run(OauthGatewayApplication.class, args);
    }
}
